include("shared.lua")

function ENT:Initialize()
	surface.CreateFont ("HugeFont", {
	size = 120,
	weight = 400,
	antialias = true,
	shadow = false,
	outline = true,
	font = "coolvetica"})
end

function ENT:Draw()
	self.Entity:DrawModel()
	
	local Pos = self:GetPos()
	local Ang = self:GetAngles()
	
	headText = self:GetText()
	
	surface.SetFont("HugeFont")
	local TextWidth = surface.GetTextSize(headText)
	
	Ang:RotateAroundAxis(Ang:Up(), 90)
	
	cam.Start3D2D(Pos + Ang:Up() * 5.5, Ang, 0.11)
		draw.WordBox(0, -TextWidth*0.5, 18, headText, "HugeFont", Color(0, 250, 255, 0), Color(255,255,0,255))
	cam.End3D2D()

	Ang:RotateAroundAxis(Ang:Right(), 180)

	cam.Start3D2D(Pos + Ang:Up() * 5.5, Ang, 0.11)
		draw.WordBox(0, -TextWidth*0.5, 18, headText, "HugeFont", Color(0, 250, 255, 0), Color(255,255,0,255))
	cam.End3D2D()
end

function ENT:Think()
end
